<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"/>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"/>
  </div>
</template>

<style lang="less">
body,html{
	margin: 0;
	padding: 0;
	width: 100%;
	display: block;
	height: 100%;
	padding-bottom: constant(safe-area-inset-bottom);  /* 兼容 iOS < 11.2 */ 
	padding-bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
}
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  width: 100%;
}

.mgt{
    margin-top: 8.27vh;
}

</style>
